cannot be loaded because running scripts is disabled on this system

64

Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
PS C:\> Set-ExecutionPolicy RemoteSigned 
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.profiles.windows": {
    "PowerShell": {
        "source": "PowerShell",
        "args": [
            "-ExecutionPolicy",
            "Bypass"
        ]
    }
},
Get-ExecutionPolicy -List | Set-ExecutionPolicy Unrestricted

Comments

Submit
0 Comments